package com.zzyl.nursing.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 家属-老人多对多中间对象 family_member_elder
 *
 * @author ruoyi
 * @date 2025-10-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("家属-老人多对多中间实体")
public class FamilyMemberElder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 老人ID，关联 elder 表
     */
    @Excel(name = "老人ID，关联 elder 表")
    @ApiModelProperty(value = "老人ID，关联 elder 表")
    private Long elderId;

    /**
     * 家属ID，关联 family_member 表
     */
    @Excel(name = "家属ID，关联 family_member 表")
    @ApiModelProperty(value = "家属ID，关联 family_member 表")
    private Long familyMemberId;

}
